package com.neu.his.fmeditem.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class Fmeditem {
	private	int id;
	private String itemCode;
	private String itemName;
	private String format;
	private String price;
	private int	expClassID;
	private int	deptID;
	private String mnemonicCode;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",locale = "zh",timezone = "GMT+8")
	private Date creationDate;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",locale = "zh",timezone = "GMT+8")
	private Date lastUpdateDate;
	private int	recordType;
	private int	delMark;
	public Fmeditem() {
		super();
	}
	public Fmeditem(String itemCode, String itemName, String format, String price, int expClassID, int deptID,
			String mnemonicCode, Date creationDate, Date lastUpdateDate, int recordType, int delMark) {
		super();
		this.itemCode = itemCode;
		this.itemName = itemName;
		this.format = format;
		this.price = price;
		this.expClassID = expClassID;
		this.deptID = deptID;
		this.mnemonicCode = mnemonicCode;
		this.creationDate = creationDate;
		this.lastUpdateDate = lastUpdateDate;
		this.recordType = recordType;
		this.delMark = delMark;
	}
	public Fmeditem(int id, String itemCode, String itemName, String format, String price, int expClassID, int deptID,
			String mnemonicCode, Date creationDate, Date lastUpdateDate, int recordType, int delMark) {
		super();
		this.id = id;
		this.itemCode = itemCode;
		this.itemName = itemName;
		this.format = format;
		this.price = price;
		this.expClassID = expClassID;
		this.deptID = deptID;
		this.mnemonicCode = mnemonicCode;
		this.creationDate = creationDate;
		this.lastUpdateDate = lastUpdateDate;
		this.recordType = recordType;
		this.delMark = delMark;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getItemCode() {
		return itemCode;
	}
	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}
	public String getItemName() {
		return itemName;
	}
	public void setItemName(String itemName) {
		this.itemName = itemName;
	}
	public String getFormat() {
		return format;
	}
	public void setFormat(String format) {
		this.format = format;
	}
	public String getPrice() {
		return price;
	}
	public void setPrice(String price) {
		this.price = price;
	}
	public int getExpClassID() {
		return expClassID;
	}
	public void setExpClassID(int expClassID) {
		this.expClassID = expClassID;
	}
	public int getDeptID() {
		return deptID;
	}
	public void setDeptID(int deptID) {
		this.deptID = deptID;
	}
	public String getMnemonicCode() {
		return mnemonicCode;
	}
	public void setMnemonicCode(String mnemonicCode) {
		this.mnemonicCode = mnemonicCode;
	}
	public Date getCreationDate() {
		return creationDate;
	}
	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}
	public Date getLastUpdateDate() {
		return lastUpdateDate;
	}
	public void setLastUpdateDate(Date lastUpdateDate) {
		this.lastUpdateDate = lastUpdateDate;
	}
	public int getRecordType() {
		return recordType;
	}
	public void setRecordType(int recordType) {
		this.recordType = recordType;
	}
	public int getDelMark() {
		return delMark;
	}
	public void setDelMark(int delMark) {
		this.delMark = delMark;
	}
	@Override
	public String toString() {
		return "Fmeditem [id=" + id + ", itemCode=" + itemCode + ", itemName=" + itemName + ", format=" + format
				+ ", price=" + price + ", expClassID=" + expClassID + ", deptID=" + deptID + ", mnemonicCode="
				+ mnemonicCode + ", creationDate=" + creationDate + ", lastUpdateDate=" + lastUpdateDate
				+ ", recordType=" + recordType + ", delMark=" + delMark + "]";
	}

}
